'use client';

import { Button } from '@/components/ui/button';
import Link from 'next/link';

export const BackButton = ({ label, href }) => {
    return (
        <Button className="font-normal w-full" variant="link" size="sm" asChild>
            <Link href={href}>{label}</Link>
        </Button>
    );
};
